home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19971216-19980424
/
000090_news@newsmaster….columbia.edu _Wed Jan 14 09:42:52 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id JAA26995
for <kermit.misc@watsun.cc.columbia.edu>; Wed, 14 Jan 1998 09:42:51 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id JAA16996
for kermit.misc@watsun; Wed, 14 Jan 1998 09:42:51 -0500 (EST)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: 'Remote if exist' type command
Date: 14 Jan 1998 14:42:49 GMT
Organization: Columbia University
Lines: 22
Message-ID: <69iit9$hrr$1@apakabar.cc.columbia.edu>
References: <34BC530F.C4C@netlink.com.au>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:8263
In article <34BC530F.C4C@netlink.com.au>,
Ross Irvine <rirvine@netlink.com.au> wrote:
: I have a site with kermit in server mode, and another site which dials
: up and exchanges some data (not in server mode).
:
: Currently from the client if I'm trying to get a file back (which
: sometimes is there, sometimes it isn't) I'm just doing a straight
: get blahh.txt from the client's script.
:
: I then check the success or failure of the get to see if the file came
: back. Is there a way to test the existance of a file on a remote server?
:
Suppose the file's name is oofa.txt. Suppose the server is C-Kermit 6.0,
and the client is also of relatively recent vintage. Then the best method
would be:
remote query kermit files(oofa.txt)
The server returns "1" if it exists, "0" if it doesn't, into the
client's \v(query) variable.
- Frank